package com.todo.user.iface.frontend.request;

import com.todo.common.common.entity.CurrentUser;
import com.todo.common.common.entity.request.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author zhangwenxiang
 * @date 2024/4/8 23:51
 * @description
 */
@Data
@Schema(title = "用户关联列表入参", description = "用户关联列表入参")
public class UserRelationListParam extends PageRequest {

    private CurrentUser _user;

    /**
     * 好友类型
     */
    @Schema(title = "好友类型", description = "好友类型")
    private Integer friendType;

    public boolean checkParam() {
        if (friendType == null) {
            return false;
        }
        return true;
    }
}
